package org.vt.scheduleapp;

public class CalendarEvent {

	private String eventName;
	private String startDate;
	private String endDate;
	private String startTime;
	private String endTime;
	private String repeat;
	private String location;
	
	public CalendarEvent(String name, String sDay, String eDay, String sTime, String eTime, String rep, String loc)
	{
			eventName = name;
			startDate = sDay;
			endDate = eDay;
			startTime = sTime;
			endTime = eTime;
			repeat = rep;
			location = loc;
	}
	
	
	public String getName()
	{
		return eventName;
	}
	
	public String getStartDate()
	{
		return startDate;
	}
	
	public String getEndDate()
	{
		return endDate;
	}
	
	public String getStartTime()
	{
		return startTime;
	}
	
	public String getEndTime()
	{
		return endTime;
	}
	public String getRepeat()
	{
		return repeat;
	}
	
	public void setName(String newName)
	{
		eventName = newName;
	}
	
	public void setStartDate(String newStartDate)
	{
		startDate = newStartDate;
	}
	
	public void setEndDate(String newEndDate)
	{
		endDate = newEndDate;
	}
	
	public void setStartTime(String newStartTime)
	{
		startTime = newStartTime;
	}
	
	public void setEndTime(String newEndTime)
	{
		endTime = newEndTime;
	}
	public void setRepeat(String newRepeat)
	{
		repeat = newRepeat;
	}
	
	public String toString()
	{
		String output = "Name;" + eventName +", Start Date;"+startDate+", End Date;"+endDate+", Start Time;"+startTime+", End Time;"+endTime+", Repeat;"+repeat+", Location;"+location;
		
		return output;
	}
}
